package com.ruoyi.exam.service;

import java.util.List;
import com.ruoyi.exam.domain.ExamQuestion;

/**
 * 考试考题Service接口
 * 
 * @author ba7lgj
 * @date 2024-04-03
 */
public interface IExamQuestionService 
{
    /**
     * 查询考试考题
     * 
     * @param questionId 考试考题主键
     * @return 考试考题
     */
    public ExamQuestion selectExamQuestionByQuestionId(Long questionId);

    /**
     * 查询考试考题列表
     * 
     * @param examQuestion 考试考题
     * @return 考试考题集合
     */
    public List<ExamQuestion> selectExamQuestionList(ExamQuestion examQuestion);

    /**
     * 新增考试考题
     * 
     * @param examQuestion 考试考题
     * @return 结果
     */
    public int insertExamQuestion(ExamQuestion examQuestion);

    /**
     * 修改考试考题
     * 
     * @param examQuestion 考试考题
     * @return 结果
     */
    public int updateExamQuestion(ExamQuestion examQuestion);

    /**
     * 批量删除考试考题
     * 
     * @param questionIds 需要删除的考试考题主键集合
     * @return 结果
     */
    public int deleteExamQuestionByQuestionIds(Long[] questionIds);

    /**
     * 删除考试考题信息
     * 
     * @param questionId 考试考题主键
     * @return 结果
     */
    public int deleteExamQuestionByQuestionId(Long questionId);
}
